<% include header.ejs %>
<table border="0" cellspacing="5" align = "center">
<tr>
<td>输入来源offer_id:</td>
<td>
<form align = "center" style="margin-top:0px;" method="post"> 
<input type="text"  name="top_offer_id" style="width:100px;" />
<button type="submit">刷新</button>
</form>
</td>

<td>输入campaign_id:</td>
<td>
<form align = "center" style="margin-top:0px;" method="post"> 
<input type="text" name="top_campaign_id" style="width:100px;" />
<button type="submit">查询</button>
</form>
</td>
</tr>
</table>

<form method="post">
<table border="0" cellspacing="5">
<tr>
  <td>常用数据:</td>
</tr>
<tr>
  <td>offer_id</td>
  <td><input type="text" value = "<%= lib_campaign.offer_id %>" name= "offer_id" style="width:330px;"/></td>
  <td>payin</td>
  <td><input type="text" value = "<%= lib_campaign.payin %>"  name= "payin" style="width:330px;"/></td>
</tr>
<tr>
  <td>cap_all_today</td>
  <td><input type="text" value = "<%= lib_campaign.cap_all_today %>" name= "cap_all_today" style="width:330px;"/></td>
  <td>geo_country</td>
  <td><textarea rows="1" cols="45"  name= "geo_country"><%= lib_campaign.geo_country %></textarea></td>
</tr>
<tr>
  <td>redirect_format</td>
  <td><input type="text" value = "<%= lib_campaign.redirect_format %>" name= "redirect_format" style="width:330px;"/></td>
  <td>aff_id</td>
  <td><input type="text" value = "<%= lib_campaign.aff_id %>" name= "aff_id" style="width:330px;"/></td>
</tr>

<tr>
  <td>可以不录入的数据:</td>
</tr>
<tr>
  <td>start_date</td>
  <td><input type="text" value = "<%= lib_campaign.start_date %>" name= "start_date" style="width:330px;"/></td>
  <td>end_date</td>
  <td><input type="text" value = "<%= lib_campaign.end_date %>" name= "end_date" style="width:330px;"/></td>
</tr>
<tr>
  <td>state</td>
  <td><input type="text" value = "<%= lib_campaign.state %>" name= "state" style="width:330px;"/></td>
  <td>payout</td>
  <td><input type="text" value = "<%= lib_campaign.payout %>" name= "payout" style="width:330px;"/></td>
</tr>
<tr>
  <td>cap_exceed_count</td>
  <td><input type="text" value = "<%= lib_campaign.cap_exceed_count %>" name= "cap_exceed_count" style="width:330px;"/></td>
  <td>cap_exceed_percent</td>
  <td><input type="text" value = "<%= lib_campaign.cap_exceed_percent %>" name= "cap_exceed_percent" style="width:330px;"/></td>
</tr>
<tr>
  <td>force_stop_level</td>
  <td><input type="text" value = "<%= lib_campaign.force_stop_level %>" name= "force_stop_level" style="width:330px;"/></td>
  <td>force_stop</td>
  <td><input type="text" value = "<%= lib_campaign.force_stop %>" name= "force_stop" style="width:330px;"/></td>
</tr>
<tr>
  <td>geo_city</td>
  <td><input type="text" value = "<%= lib_campaign.geo_city %>" name= "geo_city" style="width:330px;"/></td>
  <td>geo_country_except</td>
  <td><input type="text" value = "<%= lib_campaign.geo_country_except %>" name= "geo_country_except" style="width:330px;"/></td>
</tr>
<tr>
  <td>geo_city_except</td>
  <td><input type="text" value = "<%= lib_campaign.geo_city_except %>" name= "geo_city_except" style="width:330px;"/></td>
  <td>remark0</td>
  <td><input type="text" value = "<%= lib_campaign.remark0 %>" name= "remark0" style="width:330px;"/></td>
</tr>
<tr>
  <td>remark1</td>
  <td><input type="text" value = "<%= lib_campaign.remark1 %>" name= "remark1" style="width:330px;"/></td>
  <td><input type="submit" value="提交sql"/></td>
</tr>
<tr>
  <td>非录入数据:</td>
</tr>
<tr>
  <td>id</td>
  <td><input type="text" value = "<%= lib_campaign.id %>" name= "id" style="width:330px;"/></td>
  <td>campaign_id</td>
  <td><input type="text" value = "<%= lib_campaign.campaign_id %>" name= "campaign_id" style="width:330px;"/></td>
</tr>
<tr>
  <td>cap_run_today</td>
  <td><input type="text" value = "<%= lib_campaign.cap_run_today %>" name= "cap_run_today" style="width:330px;"/></td>
  <td>cap_run</td>
  <td><input type="text" value = "<%= lib_campaign.cap_run %>" name= "cap_run" style="width:330px;"/></td>
</tr>
<tr>
  <td>tracking_link</td>
  <td><input type="text" value = "<%= lib_campaign.tracking_link %>" name= "tracking_link" style="width:330px;"/></td>
  <td>postback_format</td>
  <td><input type="text" value = "<%= lib_campaign.postback_format %>" name= "postback_format" style="width:330px;"/></td>
</tr>


</table>
</form>
<% include footer.ejs %>